package com.AuthServer.pojo.vo;

import com.AuthServer.pojo.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo {
    private String userId;
    private String email;
    private Integer status;


    public UserVo(User user) {
        this.userId = user.getUserId();
        this.email = user.getEmail();
        this.status = user.getStatus();
    }

}
